home *** CD-ROM | disk | FTP | other *** search
/ Apple Software Dispatch / Apple Software Dispatch.iso / Software Dispatch Files / Super Munchers / Sample Application / Sample Application.rsrc / CODE_9_game.txt < prev    next >
Text File  |  1993-06-23  |  19KB  |  345 lines

  1. # near model CODE resource
  2. # jump table entries: 1720-1722 (3 of them)
  3. fn00000000:
  4. 00000000  4E56 FFFC                link       A6, -0x0004
  5. 00000004  2F07                     move.l     -[A7], D7
  6. 00000006  3D7C 0012 FFFC           move.w     [A6 - 0x4], 0x12
  7. 0000000C  3D7C 006E FFFE           move.w     [A6 - 0x2], 0x6E /* 'n' */
  8. 00000012  700C                     moveq.l    D0, 0x0C
  9. 00000014  2F00                     move.l     -[A7], D0
  10. 00000016  7200                     moveq.l    D1, 0x00
  11. 00000018  2F01                     move.l     -[A7], D1
  12. 0000001A  4EAD 0502                jsr        [A5 + 0x502 /* export_156 */]
  13. 0000001E  206D FA0A                movea.l    A0, [A5 - 0x5F6]
  14. 00000022  A02B                     syscall    EmptyHandle
  15. 00000024  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  16. 00000028  700C                     moveq.l    D0, 0x0C
  17. 0000002A  2F00                     move.l     -[A7], D0
  18. 0000002C  7200                     moveq.l    D1, 0x00
  19. 0000002E  2F01                     move.l     -[A7], D1
  20. 00000030  4EAD 0512                jsr        [A5 + 0x512 /* export_158 */]
  21. 00000034  3D7C 014A FFFE           move.w     [A6 - 0x2], 0x14A
  22. 0000003A  1E2D DDFA                move.b     D7, [A5 - 0x2206]
  23. 0000003E  1B7C 0001 DDFA           move.b     [A5 - 0x2206], 0x1
  24. 00000044  700C                     moveq.l    D0, 0x0C
  25. 00000046  2F00                     move.l     -[A7], D0
  26. 00000048  7200                     moveq.l    D1, 0x00
  27. 0000004A  2F01                     move.l     -[A7], D1
  28. 0000004C  4EAD 0502                jsr        [A5 + 0x502 /* export_156 */]
  29. 00000050  206D FA0A                movea.l    A0, [A5 - 0x5F6]
  30. 00000054  A02B                     syscall    EmptyHandle
  31. 00000056  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  32. 0000005A  700C                     moveq.l    D0, 0x0C
  33. 0000005C  2F00                     move.l     -[A7], D0
  34. 0000005E  7200                     moveq.l    D1, 0x00
  35. 00000060  2F01                     move.l     -[A7], D1
  36. 00000062  4EAD 0512                jsr        [A5 + 0x512 /* export_158 */]
  37. 00000066  1B47 DDFA                move.b     [A5 - 0x2206], D7
  38. 0000006A  700C                     moveq.l    D0, 0x0C
  39. 0000006C  2F00                     move.l     -[A7], D0
  40. 0000006E  7200                     moveq.l    D1, 0x00
  41. 00000070  2F01                     move.l     -[A7], D1
  42. 00000072  4EAD 0502                jsr        [A5 + 0x502 /* export_156 */]
  43. 00000076  206D FA0A                movea.l    A0, [A5 - 0x5F6]
  44. 0000007A  A02B                     syscall    EmptyHandle
  45. 0000007C  3D7C 0060 FFFC           move.w     [A6 - 0x4], 0x60 /* '`' */
  46. 00000082  3D7C 0090 FFFE           move.w     [A6 - 0x2], 0x90
  47. 00000088  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  48. 0000008C  700C                     moveq.l    D0, 0x0C
  49. 0000008E  2F00                     move.l     -[A7], D0
  50. 00000090  7201                     moveq.l    D1, 0x01
  51. 00000092  2F01                     move.l     -[A7], D1
  52. 00000094  4EAD 0512                jsr        [A5 + 0x512 /* export_158 */]
  53. 00000098  3D7C 0129 FFFE           move.w     [A6 - 0x2], 0x129
  54. 0000009E  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  55. 000000A2  700C                     moveq.l    D0, 0x0C
  56. 000000A4  2F00                     move.l     -[A7], D0
  57. 000000A6  7202                     moveq.l    D1, 0x02
  58. 000000A8  2F01                     move.l     -[A7], D1
  59. 000000AA  4EAD 0512                jsr        [A5 + 0x512 /* export_158 */]
  60. 000000AE  3D7C 00B5 FFFC           move.w     [A6 - 0x4], 0xB5
  61. 000000B4  3D7C 004A FFFE           move.w     [A6 - 0x2], 0x4A /* 'J' */
  62. 000000BA  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  63. 000000BE  700C                     moveq.l    D0, 0x0C
  64. 000000C0  2F00                     move.l     -[A7], D0
  65. 000000C2  7204                     moveq.l    D1, 0x04
  66. 000000C4  2F01                     move.l     -[A7], D1
  67. 000000C6  4EAD 0512                jsr        [A5 + 0x512 /* export_158 */]
  68. 000000CA  3D7C 00D9 FFFE           move.w     [A6 - 0x2], 0xD9
  69. 000000D0  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  70. 000000D4  700C                     moveq.l    D0, 0x0C
  71. 000000D6  2F00                     move.l     -[A7], D0
  72. 000000D8  7203                     moveq.l    D1, 0x03
  73. 000000DA  2F01                     move.l     -[A7], D1
  74. 000000DC  4EAD 0512                jsr        [A5 + 0x512 /* export_158 */]
  75. 000000E0  3D7C 0171 FFFE           move.w     [A6 - 0x2], 0x171
  76. 000000E6  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  77. 000000EA  700C                     moveq.l    D0, 0x0C
  78. 000000EC  2F00                     move.l     -[A7], D0
  79. 000000EE  7205                     moveq.l    D1, 0x05
  80. 000000F0  2F01                     move.l     -[A7], D1
  81. 000000F2  4EAD 0512                jsr        [A5 + 0x512 /* export_158 */]
  82. 000000F6  2E2E FFF8                move.l     D7, [A6 - 0x8]
  83. 000000FA  4E5E                     unlink     A6
  84. 000000FC  4E75                     rts
  85. export_215:
  86. 000000FE  4E56 0000                link       A6, 0
  87. 00000102  302E 000A                move.w     D0, [A6 + 0xA]
  88. 00000106  5340                     subq.w     D0, 1
  89. 00000108  6706                     beq        +0x8 /* 00000110 */
  90. 0000010A  5340                     subq.w     D0, 1
  91. 0000010C  6708                     beq        +0xA /* 00000116 */
  92. 0000010E  6036                     bra        +0x38 /* 00000146 */
  93. label00000110:
  94. 00000110  4EBA 00C0                jsr        [PC + 0xC0 /* 000001D2 */]
  95. 00000114  6030                     bra        +0x32 /* 00000146 */
  96. label00000116:
  97. 00000116  302D DCA0                move.w     D0, [A5 - 0x2360]
  98. 0000011A  48C0                     ext.l      D0
  99. 0000011C  5280                     addq.l     D0, 1
  100. 0000011E  7201                     moveq.l    D1, 0x01
  101. 00000120  C280                     and.l      D1, D0
  102. 00000122  3B41 DCA0                move.w     [A5 - 0x2360], D1
  103. 00000126  598F                     subq.l     A7, 4
  104. 00000128  3F3C 03EB                move.w     -[A7], 0x3EB
  105. 0000012C  A949                     syscall    GetMenuHandle
  106. 0000012E  7002                     moveq.l    D0, 0x02
  107. 00000130  3F00                     move.w     -[A7], D0
  108. 00000132  1F2D DCA1                move.b     -[A7], [A5 - 0x235F]
  109. 00000136  A945                     syscall    CheckItem
  110. 00000138  3B6D DCA0 DCA0           move.w     [A5 - 0x2360], [A5 - 0x2360]
  111. 0000013E  4EAD 05BA                jsr        [A5 + 0x5BA /* export_179 */]
  112. 00000142  4EAD 059A                jsr        [A5 + 0x59A /* export_175 */]
  113. label00000146:
  114. 00000146  4E5E                     unlink     A6
  115. 00000148  4E75                     rts
  116. fn0000014A:
  117. 0000014A  4E56 0000                link       A6, 0
  118. 0000014E  48E7 0108                movem.l    -[A7], D7,A4
  119. 00000152  3E2E 000E                move.w     D7, [A6 + 0xE]
  120. 00000156  286E 0008                movea.l    A4, [A6 + 0x8]
  121. 0000015A  0C47 0001                cmpi.w     D7, 0x1
  122. 0000015E  6622                     bne        +0x24 /* 00000182 */
  123. 00000160  7000                     moveq.l    D0, 0x00
  124. 00000162  2F00                     move.l     -[A7], D0
  125. 00000164  4878 00FF                push.l     0xFF
  126. 00000168  2F0C                     move.l     -[A7], A4
  127. 0000016A  4EBA 01C6                jsr        [PC + 0x1C6 /* 00000332 */]
  128. 0000016E  7004                     moveq.l    D0, 0x04
  129. 00000170  2F00                     move.l     -[A7], D0
  130. 00000172  7201                     moveq.l    D1, 0x01
  131. 00000174  2F01                     move.l     -[A7], D1
  132. 00000176  2F0C                     move.l     -[A7], A4
  133. 00000178  4EAD 00F2                jsr        [A5 + 0xF2 /* export_26 */]
  134. 0000017C  4FEF 0018                lea.l      A7, [A7 + 0x18]
  135. 00000180  6046                     bra        +0x48 /* 000001C8 */
  136. label00000182:
  137. 00000182  0C47 0005                cmpi.w     D7, 0x5
  138. 00000186  6622                     bne        +0x24 /* 000001AA */
  139. 00000188  4878 00FF                push.l     0xFF
  140. 0000018C  7000                     moveq.l    D0, 0x00
  141. 0000018E  2F00                     move.l     -[A7], D0
  142. 00000190  2F0C                     move.l     -[A7], A4
  143. 00000192  4EBA 019E                jsr        [PC + 0x19E /* 00000332 */]
  144. 00000196  7004                     moveq.l    D0, 0x04
  145. 00000198  2F00                     move.l     -[A7], D0
  146. 0000019A  7202                     moveq.l    D1, 0x02
  147. 0000019C  2F01                     move.l     -[A7], D1
  148. 0000019E  2F0C                     move.l     -[A7], A4
  149. 000001A0  4EAD 00F2                jsr        [A5 + 0xF2 /* export_26 */]
  150. 000001A4  4FEF 0018                lea.l      A7, [A7 + 0x18]
  151. 000001A8  601E                     bra        +0x20 /* 000001C8 */
  152. label000001AA:
  153. 000001AA  7000                     moveq.l    D0, 0x00
  154. 000001AC  2F00                     move.l     -[A7], D0
  155. 000001AE  2F00                     move.l     -[A7], D0
  156. 000001B0  2F0C                     move.l     -[A7], A4
  157. 000001B2  4EBA 017E                jsr        [PC + 0x17E /* 00000332 */]
  158. 000001B6  7004                     moveq.l    D0, 0x04
  159. 000001B8  2F00                     move.l     -[A7], D0
  160. 000001BA  7201                     moveq.l    D1, 0x01
  161. 000001BC  2F01                     move.l     -[A7], D1
  162. 000001BE  2F0C                     move.l     -[A7], A4
  163. 000001C0  4EAD 00F2                jsr        [A5 + 0xF2 /* export_26 */]
  164. 000001C4  4FEF 0018                lea.l      A7, [A7 + 0x18]
  165. label000001C8:
  166. 000001C8  4CEE 1080 FFF8           movem.l    D7,A4, [A6 - 0x8]
  167. 000001CE  4E5E                     unlink     A6
  168. 000001D0  4E75                     rts
  169. export_216:
  170. fn000001D2:
  171. 000001D2  4E56 FFEE                link       A6, -0x0012
  172. 000001D6  48E7 0308                movem.l    -[A7], D6,D7,A4
  173. 000001DA  7E01                     moveq.l    D7, 0x01
  174. 000001DC  4246                     clr.w      D6
  175. 000001DE  4878 09F7                push.l     0x9F7
  176. 000001E2  4EAD 0102                jsr        [A5 + 0x102 /* export_28 */]
  177. 000001E6  2840                     movea.l    A4, D0
  178. 000001E8  48C7                     ext.l      D7
  179. 000001EA  2F07                     move.l     -[A7], D7
  180. 000001EC  2F0C                     move.l     -[A7], A4
  181. 000001EE  4EBA FF5A                jsr        [PC - 0xA6 /* 0000014A */]
  182. 000001F2  2F0C                     move.l     -[A7], A4
  183. 000001F4  7005                     moveq.l    D0, 0x05
  184. 000001F6  3F00                     move.w     -[A7], D0
  185. 000001F8  486E FFEE                pea.l      [A6 - 0x12]
  186. 000001FC  486E FFF0                pea.l      [A6 - 0x10]
  187. 00000200  486E FFF4                pea.l      [A6 - 0xC]
  188. 00000204  A98D                     syscall    GetDialogItem/GetDItem
  189. 00000206  2F0C                     move.l     -[A7], A4
  190. 00000208  7005                     moveq.l    D0, 0x05
  191. 0000020A  3F00                     move.w     -[A7], D0
  192. 0000020C  3F2E FFEE                move.w     -[A7], [A6 - 0x12]
  193. 00000210  486D 06EA                pea.l      [A5 + 0x6EA /* export_217 */]
  194. 00000214  486E FFF4                pea.l      [A6 - 0xC]
  195. 00000218  A98E                     syscall    SetDialogItem/SetDItem
  196. 0000021A  2F0C                     move.l     -[A7], A4
  197. 0000021C  48C7                     ext.l      D7
  198. 0000021E  2F07                     move.l     -[A7], D7
  199. 00000220  A918                     syscall    SetWRefCon
  200. 00000222  4FEF 000C                lea.l      A7, [A7 + 0xC]
  201. label00000226:
  202. 00000226  7000                     moveq.l    D0, 0x00
  203. 00000228  2F00                     move.l     -[A7], D0
  204. 0000022A  486E FFEE                pea.l      [A6 - 0x12]
  205. 0000022E  A991                     syscall    ModalDialog
  206. 00000230  302E FFEE                move.w     D0, [A6 - 0x12]
  207. 00000234  5340                     subq.w     D0, 1
  208. 00000236  670A                     beq        +0xC /* 00000242 */
  209. 00000238  5340                     subq.w     D0, 1
  210. 0000023A  670C                     beq        +0xE /* 00000248 */
  211. 0000023C  5340                     subq.w     D0, 1
  212. 0000023E  670C                     beq        +0xE /* 0000024C */
  213. 00000240  600E                     bra        +0x10 /* 00000250 */
  214. label00000242:
  215. 00000242  3007                     move.w     D0, D7
  216. 00000244  5247                     addq.w     D7, 1
  217. 00000246  6008                     bra        +0xA /* 00000250 */
  218. label00000248:
  219. 00000248  7C01                     moveq.l    D6, 0x01
  220. 0000024A  6004                     bra        +0x6 /* 00000250 */
  221. label0000024C:
  222. 0000024C  3007                     move.w     D0, D7
  223. 0000024E  5347                     subq.w     D7, 1
  224. label00000250:
  225. 00000250  4A46                     tst.w      D6
  226. 00000252  6636                     bne        +0x38 /* 0000028A */
  227. 00000254  48C7                     ext.l      D7
  228. 00000256  2F07                     move.l     -[A7], D7
  229. 00000258  2F0C                     move.l     -[A7], A4
  230. 0000025A  4EBA FEEE                jsr        [PC - 0x112 /* 0000014A */]
  231. 0000025E  2F0C                     move.l     -[A7], A4
  232. 00000260  48C7                     ext.l      D7
  233. 00000262  2F07                     move.l     -[A7], D7
  234. 00000264  A918                     syscall    SetWRefCon
  235. 00000266  486E FFFC                pea.l      [A6 - 0x4]
  236. 0000026A  A874                     syscall    GetPort
  237. 0000026C  2F0C                     move.l     -[A7], A4
  238. 0000026E  A873                     syscall    SetPort
  239. 00000270  2F0C                     move.l     -[A7], A4
  240. 00000272  A922                     syscall    BeginUpdate
  241. 00000274  486C 0010                pea.l      [A4 + 0x10]
  242. 00000278  A8A3                     syscall    EraseRect
  243. 0000027A  2F0C                     move.l     -[A7], A4
  244. 0000027C  A923                     syscall    EndUpdate
  245. 0000027E  2F0C                     move.l     -[A7], A4
  246. 00000280  A981                     syscall    DrawDialog
  247. 00000282  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  248. 00000286  A873                     syscall    SetPort
  249. 00000288  504F                     addq.w     A7, 8
  250. label0000028A:
  251. 0000028A  4A46                     tst.w      D6
  252. 0000028C  6798                     beq        -0x66 /* 00000226 */
  253. 0000028E  2F0C                     move.l     -[A7], A4
  254. 00000290  A983                     syscall    DisposeDialog
  255. 00000292  4CEE 10C0 FFE2           movem.l    D6,D7,A4, [A6 - 0x1E]
  256. 00000298  4E5E                     unlink     A6
  257. 0000029A  4E75                     rts
  258. export_217:
  259. 0000029C  4E56 FFF8                link       A6, -0x0008
  260. 000002A0  48E7 0118                movem.l    -[A7], D7,A3,A4
  261. 000002A4  266E 000A                movea.l    A3, [A6 + 0xA]
  262. 000002A8  41EE FFF8                lea.l      A0, [A6 - 0x8]
  263. 000002AC  43EB 0010                lea.l      A1, [A3 + 0x10]
  264. 000002B0  20D9                     move.l     [A0]+, [A1]+
  265. 000002B2  20D9                     move.l     [A0]+, [A1]+
  266. 000002B4  3D7C 0104 FFFC           move.w     [A6 - 0x4], 0x104
  267. 000002BA  486E FFF8                pea.l      [A6 - 0x8]
  268. 000002BE  A8A3                     syscall    EraseRect
  269. 000002C0  598F                     subq.l     A7, 4
  270. 000002C2  2F0B                     move.l     -[A7], A3
  271. 000002C4  A917                     syscall    GetWRefCon
  272. 000002C6  201F                     move.l     D0, [A7]+
  273. 000002C8  3E00                     move.w     D7, D0
  274. 000002CA  598F                     subq.l     A7, 4
  275. 000002CC  3007                     move.w     D0, D7
  276. 000002CE  D07C 1585                add.w      D0, 0x1585
  277. 000002D2  3F00                     move.w     -[A7], D0
  278. 000002D4  A9BC                     syscall    GetPicture
  279. 000002D6  285F                     movea.l    A4, [A7]+
  280. 000002D8  200C                     move.l     D0, A4
  281. 000002DA  6614                     bne        +0x16 /* 000002F0 */
  282. 000002DC  486D D89A                pea.l      [A5 - 0x2766]
  283. 000002E0  558F                     subq.l     A7, 2
  284. 000002E2  A9AF                     syscall    ResError
  285. 000002E4  301F                     move.w     D0, [A7]+
  286. 000002E6  48C0                     ext.l      D0
  287. 000002E8  2F00                     move.l     -[A7], D0
  288. 000002EA  4EAD 01BA                jsr        [A5 + 0x1BA /* export_51 */]
  289. 000002EE  504F                     addq.w     A7, 8
  290. label000002F0:
  291. 000002F0  204C                     movea.l    A0, A4
  292. 000002F2  A04A                     syscall    HNoPurge
  293. 000002F4  2054                     movea.l    A0, [A4]
  294. 000002F6  43EE FFF8                lea.l      A1, [A6 - 0x8]
  295. 000002FA  5488                     addq.l     A0, 2
  296. 000002FC  22D8                     move.l     [A1]+, [A0]+
  297. 000002FE  22D8                     move.l     [A1]+, [A0]+
  298. 00000300  486E FFF8                pea.l      [A6 - 0x8]
  299. 00000304  7015                     moveq.l    D0, 0x15
  300. 00000306  3F00                     move.w     -[A7], D0
  301. 00000308  7206                     moveq.l    D1, 0x06
  302. 0000030A  3F01                     move.w     -[A7], D1
  303. 0000030C  A8A8                     syscall    OffsetRect
  304. 0000030E  2F0C                     move.l     -[A7], A4
  305. 00000310  486E FFF8                pea.l      [A6 - 0x8]
  306. 00000314  A8F6                     syscall    DrawPicture
  307. 00000316  204C                     movea.l    A0, A4
  308. 00000318  A049                     syscall    HPurge
  309. 0000031A  0C47 0003                cmpi.w     D7, 0x3
  310. 0000031E  6604                     bne        +0x6 /* 00000324 */
  311. 00000320  4EBA FCDE                jsr        [PC - 0x322 /* 00000000 */]
  312. label00000324:
  313. 00000324  4CEE 1880 FFEC           movem.l    D7,A3,A4, [A6 - 0x14]
  314. 0000032A  4E5E                     unlink     A6
  315. 0000032C  205F                     movea.l    A0, [A7]+
  316. 0000032E  5C4F                     addq.w     A7, 6
  317. 00000330  4ED0                     jmp        [A0]
  318. fn00000332:
  319. 00000332  4E56 FFF2                link       A6, -0x000E
  320. 00000336  2F0C                     move.l     -[A7], A4
  321. 00000338  286E 0008                movea.l    A4, [A6 + 0x8]
  322. 0000033C  2F0C                     move.l     -[A7], A4
  323. 0000033E  7001                     moveq.l    D0, 0x01
  324. 00000340  3F00                     move.w     -[A7], D0
  325. 00000342  486E FFF2                pea.l      [A6 - 0xE]
  326. 00000346  486E FFF4                pea.l      [A6 - 0xC]
  327. 0000034A  486E FFF8                pea.l      [A6 - 0x8]
  328. 0000034E  A98D                     syscall    GetDialogItem/GetDItem
  329. 00000350  2F2E FFF4                move.l     -[A7], [A6 - 0xC]
  330. 00000354  3F2E 0012                move.w     -[A7], [A6 + 0x12]
  331. 00000358  A95D                     syscall    HiliteControl
  332. 0000035A  2F0C                     move.l     -[A7], A4
  333. 0000035C  7003                     moveq.l    D0, 0x03
  334. 0000035E  3F00                     move.w     -[A7], D0
  335. 00000360  486E FFF2                pea.l      [A6 - 0xE]
  336. 00000364  486E FFF4                pea.l      [A6 - 0xC]
  337. 00000368  486E FFF8                pea.l      [A6 - 0x8]
  338. 0000036C  A98D                     syscall    GetDialogItem/GetDItem
  339. 0000036E  2F2E FFF4                move.l     -[A7], [A6 - 0xC]
  340. 00000372  3F2E 000E                move.w     -[A7], [A6 + 0xE]
  341. 00000376  A95D                     syscall    HiliteControl
  342. 00000378  286E FFEE                movea.l    A4, [A6 - 0x12]
  343. 0000037C  4E5E                     unlink     A6
  344. 0000037E  4E75                     rts
  345.